<?php

return [
    'settings' => [
        'displayErrorDetails' => getenv('DISPLAYERRORDETAILS'),
        'addContentLengthHeader' => getenv('ADDCONTENTLENGTHHEADER'),

        'db' => [
            'read' => [
                'host' => getenv('DB_READ_HOST'),
                ],
            'write' => [
                'host' => getenv('DB_WRITE_HOST'),
                ],
                'driver' => 'mysql',
                'database' => getenv('DB_DATABASE'),
                'username' => getenv('DB_USERNAME'),
                'password' => getenv('DB_PASSWORD'),
                'charset' => "utf8mb4",
                'collation' => 'utf8mb4_unicode_ci',
            ],
        ],
    ];

